package com.kaibes.platform.file.server.admin;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import com.kaibes.web.admin.AdminMenu;

@Configuration
public class FileServerMenuInit {

    @Bean
    public AdminMenu fileServerSetting() {
        AdminMenu menu = new AdminMenu();
        menu.setKey("file-client");
        menu.setName("客户端设置");
        menu.setIcon("fas fa-cog");
        menu.setHref("/admin/file/client");
        menu.setSort(99);
        menu.setParentKey("file-manage");
        return menu;
    }

}
